<?php
class Base{
    public function __construct(){
    }
    public function __destruct(){
        //parent::__destruct();
    }
}
class Computer extends Base{
   
    
  
    
    function __construct($param) {
        parent::__construct();
        print($param);
    }
    
    function __destruct(){
        parent::__construct();
        print("<br/>\n__destruct");

    }
    
    
    
  
    
    
}

$cputer=new Computer("是的粉色的");